package com.github.catvod.spider;

import com.github.catvod.crawler.Spider;
import com.github.catvod.crawler.SpiderDebug;
import com.github.catvod.parser.C0000;
import com.github.catvod.parser.C0001;
import com.github.catvod.parser.C0002;
import com.github.catvod.parser.C0003;
import com.github.catvod.parser.C0004;
import com.github.catvod.parser.C0005;
import com.github.catvod.parser.C0006;
import com.github.catvod.parser.C0007;
import com.github.catvod.parser.C0008;
import com.github.catvod.parser.C0009;
import com.github.catvod.spider.merge.C0011;
import com.github.catvod.spider.merge.C0012;
import com.github.catvod.spider.merge.C0013;
import com.github.catvod.spider.merge.C0014;
import com.github.catvod.spider.merge.C0015;
import com.github.catvod.spider.merge.Dv;
import com.github.catvod.spider.merge.HZ;
import com.github.catvod.spider.merge.Lm;
import com.github.catvod.spider.merge.fP;
import com.github.catvod.spider.merge.lk;
import java.net.URLEncoder;
import java.util.Iterator;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.json.JSONArray;
import org.json.JSONObject;

/* loaded from: classes.dex */
public class Zxzj extends Spider {
    private JSONObject V0;
    private JSONObject j;

    /* renamed from: short, reason: not valid java name */
    private static final short[] f62short = {1549, 1553, 1553, 1557, 1558, 1631, 1610, 1610, 1554, 1554, 1554, 1611, 1567, 1565, 1567, 1551, 1564, 1558, 1611, 1542, 1546, 1544, 1610, 3158, 3093, 3088, 3082, 3085, 3158, 3153, 3109, 3101, 3154, 3152, 3159, 3089, 3085, 3092, 3093, 1528, 1459, 1458, 1443, 1462, 1470, 1467, 1528, 1535, 1419, 1459, 1532, 1534, 1529, 1471, 1443, 1466, 1467, 2892, 2837, 2826, 2823, 2822, 2828, 2892, 2891, 2879, 2823, 2888, 2890, 2894, 2891, 2879, 2823, 2888, 2890, 2894, 2891, 2879, 2823, 2888, 2890, 2893, 2827, 2839, 2830, 2831, 883, 810, 819, 824, 815, 820, 819, 811, 883, 884, 768, 783, 887, 885, 882, 820, 808, 817, 816, 872, 471, 462, 453, 466, 457, 462, 470, 398, 356, 290, 318, 295, 294, 3056, 3049, 2987, 3062, 3057, 3056, 3052, 2984, 3061, 3044, 3042, 3040, 3034, 3034, 3052, 3057, 3040, 3048, 2981, 3049, 3052, 821, 815, 824, 827, 2327, 1858, 1856, 1879, 1866, 1877, 1862, 22266, -27983, 25718, 28638, 27305, 23271, 26751, 26660, -32426, 32339, 30212, 28491, 23601, 1141, 1144, 1127, 1087, 1122, 1125, 1124, 1144, 1084, 1127, 1150, 1141, 1149, 1144, 1122, 1125, 1102, 1102, 1139, 1150, 1129, 2733, 2736, 2733, 2741, 2748, 2658, 2663, 2674, 2663, 2603, 2665, 2676, 2671, 2657, 2671, 2664, 2663, 2666, 1764, 1701, 1707, 1781, 1772, 1766, 1704, 1777, 1760, 1789, 1777, 1216, 1241, 1234, 1257, 1247, 1234, 794, 771, 776, 819, 770, 781, 769, 777, 979, 970, 961, 1018, 981, 972, 966, 1674, 1683, 1688, 1699, 1678, 1689, 1681, 1693, 1678, 1687, 1679, 648, 665, 671, 669, 1150, 1135, 1129, 1131, 1133, 1121, 1147, 1120, 1146, 2115, 2118, 2114, 2118, 2139, 2195, 2184, 2195, 2182, 2187, 608, 613, 639, 632, 905, 3218, 3218, 3218, 1811, 1880, 1881, 1864, 1885, 1877, 1872, 1811, 1345, 1287, 1307, 1282, 1283, 1857, 1868, 1875, 1803, 1878, 1873, 1872, 1868, 1800, 1862, 1866, 1867, 1873, 1856, 1867, 1873, 1914, 1914, 1873, 1869, 1872, 1864, 1863, 1797, 1860, 1797, 1868, 1864, 1858, 1961, 1964, 1977, 1964, 2016, 1954, 1983, 1956, 1962, 1956, 1955, 1964, 1953, 1996, 1985, 2014, 1926, 2011, 2012, 2013, 1985, 1925, 1995, 1991, 1990, 2012, 1997, 1990, 2012, 2039, 2039, 1996, 1997, 2012, 1993, 1985, 1988, 1928, 1984, 1945, 1024, 1118, 1044, 1041, 1028, 1041, 30644, 23620, -2859, 3047, 2963, 2972, 3044, 3046, 20946, 21976, -1544, 1738, 1726, 1713, 1737, 1739, 22587, 18610, -1707, 1639, 1555, 1564, 1636, 1638, 25303, 24979, -1223, 1035, 1151, 1136, 1032, 1034, 18330, 26293, -2373, 2441, 2557, 2546, 2442, 2440, 24118, 27358, -1328, 1506, 1430, 1433, 1505, 1507, 2162, 2161, 2144, 2159, 2095, 2149, 2148, 2165, 2144, 2152, 2157, 2092, 2146, 2158, 2159, 2165, 2148, 2159, 2165, 670, 647, 652, 695, 641, 652, 2042, 2019, 2024, 2003, 2018, 2029, 2017, 2025, 1113, 1088, 1099, 1136, 1119, 1094, 1100, 2174, 2163, 2170, 2159, 2133, 2148, 2155, 2151, 2159, 1661, 1636, 1647, 1620, 1650, 1646, 1642, 1657, 2725, 2748, 2743, 2700, 2738, 2721, 2742, 2738, 1239, 1230, 1221, 1278, 1235, 1220, 1228, 1216, 1235, 1226, 1234, 1002, 1011, 1016, 963, 1021, 1023, 1000, 1011, 1006, 461, 468, 479, 484, 479, 466, 457, 478, 472, 463, 468, 457, 1508, 1533, 1526, 1485, 1521, 1533, 1532, 1510, 1527, 1532, 1510, 1611, 1606, 1625, 1537, 1628, 1627, 1626, 1606, 1538, 1625, 1600, 1611, 1603, 1606, 1628, 1627, 1648, 1648, 1607, 1610, 1614, 1611, 1551, 1607, 1564, 2689, 2712, 2778, 2695, 2688, 2689, 2717, 2777, 2711, 2715, 2714, 2688, 2705, 2714, 2688, 2731, 2731, 2692, 2712, 2709, 2701, 2712, 2717, 2695, 2688, 418, 441, 836, 833, 776, 841, 1417, 1427, 1412, 1415, 2151, 1506, 2442, 2451, 2456, 2467, 2444, 2448, 2461, 2437, 2467, 2458, 2446, 2451, 2449, 3090, 3083, 3072, 3131, 3092, 3080, 3077, 3101, 3131, 3089, 3094, 3080, 2991, 2986, 2992, 2999, 1846, 1408, 1433, 1499, 1414, 1409, 1408, 1436, 1496, 1437, 1424, 1428, 1425, 1424, 1415, 1450, 1450, 1432, 1424, 1435, 1408, 1493, 1433, 1436, 1493, 1428, 2581, 2575, 2584, 2587, 30618, 24030, 31238, 22511, -27099, 21419, 26344, 20842, 26877, 22122, 21671, 26916, 585, 580, 589, 600, 610, 596, 601, 2220, 2209, 2216, 2237, 2183, 2230, 2233, 2229, 2237, 1630, 1617, 1620, 1612, 1629, 1610, 1611, 1883, 1876, 1881, 1867, 1867, 1916, 1893, 1831, 1914, 1917, 1916, 1888, 1828, 1919, 1894, 1901, 1893, 1888, 1914, 1917, 774, 779, 788, 844, 785, 790, 791, 779, 847, 788, 781, 774, 782, 779, 785, 790, 829, 829, 768, 781, 794, 2286, 2291, 2286, 2294, 2303, 1184, 1189, 1200, 1189, 1257, 1195, 1206, 1197, 1187, 1197, 1194, 1189, 1192, 2955, 3018, 3012, 2970, 2947, 2953, 3015, 2974, 2959, 2962, 2974, 2884, 2909, 2902, 2925, 2907, 2902, 881, 872, 867, 856, 873, 870, 874, 866, 2056, 2065, 2074, 2081, 2062, 2071, 2077, 2209, 2232, 2227, 2184, 2213, 2226, 2234, 2230, 2213, 2236, 2212, 765, 760, 738, 741, 2282, 2227, 2301, 2296, 2303, 2292, 2213, 2227, 2219, 2282, 2227, 2274, 2297, 2227, 2219, 2227, 27708, 28079, 30254, -31362, 2213, 2227, 2237, 2227, 2273, 2276, 2227, 2219, 2227, 2297, 2277, 2277, 2273, 2274, 2219, 2238, 2238, 2278, 2278, 2278, 2239, 2283, 2281, 2283, 2299, 2280, 2274, 2239, 2290, 2302, 2300, 2238, 2301, 2296, 2303, 2292, 2213, 2239, 2273, 2297, 2273, 2222, 2276, 2275, 2301, 2220, 2227, 2237, 2227, 2274, 2303, 2227, 2219, 2208, 2237, 2227, 2302, 2275, 2227, 2219, 2216, 2216, 2216, 2284, 2237, 2227, 2301, 2292, 2273, 2227, 2219, 2282, 2227, 2274, 2297, 2227, 2219, 2227, 27708, 28079, 30254, -31362, 2210, 2227, 2237, 2227, 2273, 2276, 2227, 2219, 2227, 2297, 2277, 2277, 2273, 2274, 2219, 2238, 2238, 2278, 2278, 2278, 2239, 2283, 2281, 2283, 2299, 2280, 2274, 2239, 2290, 2302, 2300, 2238, 2301, 2296, 2303, 2292, 2213, 2239, 2273, 2297, 2273, 2222, 2276, 2275, 2301, 2220, 2227, 2237, 2227, 2274, 2303, 2227, 2219, 2208, 2237, 2227, 2302, 2275, 2227, 2219, 2216, 2216, 2216, 2284, 2237, 2227, 2301, 2296, 2303, 2292, 2212, 2227, 2219, 2282, 2227, 2274, 2297, 2227, 2219, 2227, 27708, 28079, 30254, -31362, 2212, 2227, 2237, 2227, 2273, 2276, 2227, 2219, 2227, 2227, 2237, 2227, 2274, 2303, 2227, 2219, 2208, 2237, 2227, 2302, 2275, 2227, 2219, 2216, 2216, 2216, 2284, 2284, 1604, 1612, 1629, 
    1601, 1606, 1613, 1009, 1011, 994, 958, 923, 908, 921, 906, 911, 910, 966, 930, 901, 920, 910, 904, 926, 921, 910, 966, 953, 910, 922, 926, 910, 920, 927, 920, 2186, 1720, 1714, 1704, 1735, 1776, 1779, 1776, 1767, 1776, 1767, 2907, 2835, 2831, 2831, 2827, 2824, 2881, 2900, 2900, 2828, 2828, 2828, 2901, 2817, 2819, 2817, 2833, 2818, 2824, 2901, 2840, 2836, 2838, 2234, 2204, 2186, 2205, 2242, 2222, 2184, 2186, 2177, 2203, 2212, 2182, 2195, 2176, 2181, 2181, 2184, 2246, 2268, 2247, 2265, 2249, 2241, 2238, 2176, 2183, 2189, 2182, 2206, 2202, 2249, 2215, 2237, 2249, 2264, 2265, 2247, 2265, 2258, 2249, 2238, 2176, 2183, 2271, 2269, 2258, 2249, 2193, 2271, 2269, 2240, 2249, 2216, 2201, 2201, 2181, 2188, 2238, 2188, 2187, 2210, 2176, 2205, 2246, 2268, 2266, 2270, 2247, 2266, 2271, 2249, 2241, 2210, 2209, 2237, 2212, 2213, 2245, 2249, 2181, 2176, 2178, 2188, 2249, 2222, 2188, 2186, 2178, 2182, 2240, 2249, 2218, 2177, 2203, 2182, 2180, 2188, 2246, 2264, 2267, 2264, 2247, 2265, 2247, 2265, 2247, 2265, 2249, 2234, 2184, 2191, 2184, 2203, 2176, 2246, 2268, 2266, 2270, 2247, 2266, 2271, 2249, 2220, 2189, 2190, 2246, 2264, 2267, 2264, 2247, 2265, 2247, 2265, 2247, 2265, 833, 867, 867, 869, 880, 884, 447, 430, 435, 447, 484, 419, 447, 422, 423, 487, 426, 443, 443, 423, 418, 424, 426, 447, 418, 420, 421, 484, 435, 419, 447, 422, 423, 480, 435, 422, 423, 487, 426, 443, 443, 423, 418, 424, 426, 447, 418, 420, 421, 484, 435, 422, 423, 496, 442, 502, 507, 485, 498, 487, 418, 422, 426, 428, 430, 484, 426, 445, 418, 429, 487, 418, 422, 426, 428, 430, 484, 444, 430, 425, 443, 487, 418, 422, 426, 428, 430, 484, 426, 443, 421, 428, 487, 481, 484, 481, 496, 442, 502, 507, 485, 499, 487, 426, 443, 443, 423, 418, 424, 426, 447, 418, 420, 421, 484, 440, 418, 428, 421, 430, 431, 486, 430, 435, 424, 419, 426, 421, 428, 430, 496, 445, 502, 425, 504, 496, 442, 502, 507, 485, 508, 1197, 1167, 1167, 1161, 1180, 1176, 1217, 1184, 1165, 1154, 1163, 1177, 1165, 1163, 1161, 504, 490, 431, 449, 460, 430, 504, 490, 441, 499, 447, 434, 428, 443, 913, 918, 904, 384, 422, 432, 423, 504, 404, 434, 432, 443, 417, 1584, 1629, 1663, 1642, 1657, 1660, 1660, 1649, 1599, 1573, 1598, 1568, 1584, 1592, 1629, 1649, 1651, 1657, 1662, 1636, 1663, 1635, 1656, 1579, 1584, 1625, 1662, 1636, 1653, 1660, 1584, 1629, 1649, 1651, 1584, 1631, 1603, 1584, 1608, 1584, 1569, 1568, 1615, 1569, 1573, 1615, 1575, 1593, 1584, 1617, 1632, 1632, 1660, 1653, 1607, 1653, 1650, 1627, 1657, 1636, 1599, 1573, 1571, 1575, 1598, 1571, 1574, 1584, 1592, 1627, 1624, 1604, 1629, 1628, 1596, 1584, 1660, 1657, 1659, 1653, 1584, 1623, 1653, 1651, 1659, 1663, 1593, 1584, 1619, 1656, 1634, 1663, 1661, 1653, 1599, 1577, 1569, 1598, 1568, 1598, 1572, 1572, 1575, 1570, 1598, 1569, 1569, 1572, 1584, 1603, 1649, 1654, 1649, 1634, 1657, 1599, 1573, 1571, 1575, 1598, 1571, 1574, 2328, 2362, 2362, 2364, 2345, 2349, 525, 519, 514, 519, 1906, 1872, 1872, 1878, 1859, 1863, 1822, 1919, 1874, 1885, 1876, 1862, 1874, 1876, 1878, 2374, 2332, 2318, 2379, 2341, 2344, 2378, 2332, 2318, 2397, 2327, 2395, 2390, 2376, 2399, 2378, 2307, 2312, 2379, 2355, 2357, 2397, 2327, 2395, 2390, 2376, 2398, 2378, 2307, 2312, 2397, 2327, 2395, 2390, 2376, 2385, 1525, 1495, 1495, 1489, 1476, 1472, 1433, 1521, 1498, 1495, 1499, 1488, 1501, 1498, 1491, 2185, 2240, 2253, 2252, 2247, 2269, 2240, 2269, 2256, 2194, 2264, 2196, 2200, 2181, 2185, 2179, 2194, 2264, 2196, 2201, 1645, 1627, 1629, 1555, 1656, 1627, 1610, 1629, 1622, 1555, 1658, 1627, 1613, 1610, 2413, 2363, 2340, 2345, 2344, 2338, 598, 608, 614, 552, 579, 608, 625, 614, 621, 552, 584, 618, 609, 608, 1060, 1130, 1131, 1065, 1127, 1131, 1142, 1143, 615, 593, 599, 537, 626, 593, 576, 599, 604, 537, 615, 605, 576, 593, 3299, 3232, 3249, 3244, 3248, 3248, 3310, 3248, 3242, 3255, 3238, 2881, 2840, 2823, 2826, 2827, 2817, 2881, 974, 904, 916, 909, 908, 1217, 1233, 1216, 1243, 1218, 1222, 2689, 2710, 2693, 2775, 2695, 2715, 2710, 2702, 2706, 2693, 2728, 2975, 3033, 3036, 3017, 3036, 2975, 2951, 3046, 2970, 2975, 3040, 2965, 3046, 3043, 2970, 2975, 3040, 2966, 2964, 3046, 2970, 2975, 3040, 1990, 2007, 1988, 1989, 2003, 1638, 1658, 1655, 1647, 1603, 1636, 1658, 2620, 2609, 2613, 2608, 2609, 2598, 733, 650, 642, 659, 655, 648, 643, 2155, 2153, 2168, 1191, 1189, 1189, 1187, 1206, 1202, 1259, 1187, 1192, 1189, 1193, 1186, 1199, 1192, 1185, 1455, 1458, 1441, 1464, 1508, 1512, 1452, 1453, 1454, 1444, 1449, 1468, 1453, 1508, 1512, 1450, 1466, 2867, 2853, 2851, 2925, 2851, 2856, 2925, 2869, 2849, 2851, 2849, 2895, 2926, 2933, 2849, 2880, 2874, 2883, 2931, 2912, 2927, 2917, 2851, 2874, 2935, 2876, 2851, 2872, 2872, 2851, 2861, 2849, 2851, 2882, 2921, 2931, 2926, 2924, 2920, 2932, 2924, 2851, 2874, 2935, 2876, 2851, 2864, 2865, 2867, 2851, 2819, 2837, 2835, 2909, 2835, 2840, 2909, 2821, 2833, 2909, 2845, 2847, 2834, 2841, 2844, 2837, 1840, 1855, 888, 878, 872, 806, 872, 867, 806, 894, 874, 806, 891, 871, 874, 895, 877, 868, 889, 870, 775, 825, 830, 820, 831, 807, 803, 1233, 1223, 1217, 1167, 1220, 1223, 1238, 1217, 1226, 1167, 1222, 1223, 1233, 1238, 2741, 2746, 2734, 2749, 2737, 2745, 1566, 1544, 1550, 1600, 1547, 1544, 1561, 1550, 1541, 1600, 1536, 1538, 1545, 1544, 2110, 2097, 2086, 2105, 2103, 2097, 2084, 2101, 3035, 3021, 3019, 2949, 3022, 3021, 3036, 3019, 3008, 2949, 3035, 3009, 3036, 3021, 3232, 3249, 3244, 3248, 3248, 3310, 3248, 3242, 3255, 3238, 833, 868, 883, 870, 885, 880, 881, 825, 861, 890, 871, 881, 887, 865, 870, 881, 825, 838, 881, 869, 865, 881, 871, 864, 871, 1701, 1771, 1761, 1787, 3326, 3273, 3274, 3273, 3294, 3273, 3294, 818, 890, 870, 870, 866, 865, 808, 829, 829, 869, 869, 869, 828, 872, 874, 872, 888, 875, 865, 828, 881, 893, 895, 829, 726, 
    752, 742, 753, 686, 706, 740, 742, 749, 759, 849, 883, 870, 885, 880, 880, 893, 819, 809, 818, 812, 828, 820, 843, 885, 882, 888, 883, 875, 879, 828, 850, 840, 828, 813, 812, 818, 812, 807, 828, 843, 851, 843, 810, 808, 821, 828, 861, 876, 876, 880, 889, 843, 889, 894, 855, 885, 872, 819, 809, 815, 811, 818, 815, 810, 828, 820, 855, 852, 840, 849, 848, 816, 828, 880, 885, 887, 889, 828, 859, 889, 895, 887, 883, 821, 828, 863, 884, 878, 883, 881, 889, 819, 813, 812, 814, 818, 812, 818, 812, 818, 812, 828, 847, 893, 890, 893, 878, 885, 819, 809, 815, 811, 818, 815, 810, 1292, 1326, 1326, 1320, 1341, 1337, 2390, 2375, 2394, 2390, 2317, 2378, 2390, 2383, 2382, 2318, 2371, 2386, 2386, 2382, 2379, 2369, 2371, 2390, 2379, 2381, 2380, 2317, 2394, 2378, 2390, 2383, 2382, 2313, 2394, 2383, 2382, 2318, 2371, 2386, 2386, 2382, 2379, 2369, 2371, 2390, 2379, 2381, 2380, 2317, 2394, 2383, 2382, 2329, 2387, 2335, 2322, 2316, 2331, 2318, 2379, 2383, 2371, 2373, 2375, 2317, 2371, 2388, 2379, 2372, 2318, 2379, 2383, 2371, 2373, 2375, 2317, 2389, 2375, 2368, 2386, 2318, 2379, 2383, 2371, 2373, 2375, 2317, 2371, 2386, 2380, 2373, 2318, 2312, 2317, 2312, 2329, 2387, 2335, 2322, 2316, 2330, 2318, 2371, 2386, 2386, 2382, 2379, 2369, 2371, 2390, 2379, 2381, 2380, 2317, 2385, 2379, 2373, 2380, 2375, 2374, 2319, 2375, 2394, 2369, 2378, 2371, 2380, 2373, 2375, 2329, 2388, 2335, 2368, 2321, 2329, 2387, 2335, 2322, 2316, 2331, 1138, 1104, 1104, 1110, 1091, 1095, 1054, 1151, 1106, 1117, 1108, 1094, 1106, 1108, 1110, 1478, 1492, 1425, 1535, 1522, 1424, 1478, 1492, 1415, 1485, 1409, 1420, 1426, 1413, 1424, 1497, 1490, 1415, 1485, 1409, 1420, 1426, 1412, 455, 2017, 1976, 1953, 1962, 1981, 1963, 1967, 1980, 1965, 1958, 2017, 2019, 2019, 2019, 2019, 2019, 2019, 2019, 2019, 2019, 2019, 2019, 2019, 2019, 2016, 1958, 1978, 1955, 1954, 2033, 1977, 1962, 2035, 1717, 1760, 1766, 1777, 1790, 1786, 1767, 1710, 1686, 1691, 1668, 1756, 1665, 1670, 1671, 1691, 1759, 1668, 1693, 1686, 1694, 1691, 1665, 1670, 1709, 1709, 1680, 1693, 1674, 1755, 1734, 1755, 1731, 1738, 1034, 1039, 1050, 1039, 1091, 1025, 1052, 1031, 1033, 1031, 1024, 1039, 1026, 1416, 1426, 1413, 1414, 709, 644, 727, 724, 709, 714, 650, 724, 717, 711, 649, 720, 705, 732, 720, 431, 438, 445, 390, 432, 445, 412, 389, 398, 437, 388, 395, 391, 399, 3063, 3054, 3045, 3038, 3057, 3048, 3042, 528, 521, 514, 569, 532, 515, 523, 519, 532, 525, 533, 2962, 2967, 2957, 2954};
    private static String h = C0018.m56(f62short, 0, 23, 1637);
    private Pattern q = Pattern.compile(C0008.m27(f62short, 23, 16, 3193));
    private Pattern I = Pattern.compile(C0012.m37(f62short, 39, 18, 1495));
    private Pattern oC = Pattern.compile(C0011.m35(f62short, 57, 29, 2915));
    private Pattern BQ = Pattern.compile(C0007.m26(f62short, 86, 19, 860));
    protected String W = null;

    public Zxzj() {
        int m39 = C0013.m39();
        int i = 1616;
        while (true) {
            i ^= 1633;
            switch (i) {
                case 14:
                case 49:
                    i = m39 >= 0 ? 1709 : 1678;
                case 204:
                    System.out.println(Integer.valueOf(C0008.m29("1E72AzPx3vwtbBoegFQ")));
                    break;
                case 239:
                    break;
            }
            return;
        }
    }

    private static String V0(Pattern pattern, String str) {
        int i = 1616;
        while (true) {
            i ^= 1633;
            switch (i) {
                case 14:
                case 49:
                    i = pattern == null ? 1709 : 1678;
                case 204:
                    return str;
                case 239:
                    try {
                        Matcher matcher = pattern.matcher(str);
                        boolean find = matcher.find();
                        int i2 = 1740;
                        while (true) {
                            i2 ^= 1757;
                            switch (i2) {
                                case 17:
                                    i2 = find ? 1833 : 1802;
                                case 54:
                                case 471:
                                    return str;
                                case 500:
                                    return matcher.group(1).trim();
                            }
                        }
                    } catch (Exception e) {
                        SpiderDebug.log(e);
                        return str;
                    }
                    break;
            }
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:33:0x004e, code lost:
    
        return r6;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public static java.lang.String decodeStr(java.lang.String r6) {
        /*
            r0 = 0
            r3 = 0
            java.lang.String r1 = "ۡ۟ۡ"
            r2 = r3
            r4 = r3
            r5 = r1
            r1 = r0
        L8:
            int r5 = com.github.catvod.parser.C0006.m20(r5)
            switch(r5) {
                case 1747778: goto L2d;
                case 1748611: goto L33;
                case 1749787: goto L4e;
                case 1750563: goto L3a;
                case 1751556: goto L3f;
                case 1751563: goto L22;
                case 1752523: goto L14;
                case 1752612: goto L47;
                case 1753419: goto L1b;
                case 1753666: goto L28;
                default: goto Lf;
            }
        Lf:
            int r2 = r4 + (-7)
            java.lang.String r5 = "ۦۣۧ"
            goto L8
        L14:
            java.lang.String r0 = r6.substring(r3, r4)
            java.lang.String r5 = "ۣ۠ۥ"
            goto L8
        L1b:
            java.lang.String r0 = r6.substring(r2)
            java.lang.String r5 = "ۤۡۨ"
            goto L8
        L22:
            r1.append(r0)
            java.lang.String r5 = "ۥۣۤ"
            goto L8
        L28:
            int r4 = r2 / 2
            java.lang.String r5 = "ۤۡۡ"
            goto L8
        L2d:
            r1.append(r0)
            java.lang.String r5 = "ۣ۠۠"
            goto L8
        L33:
            int r4 = r6.length()
            java.lang.String r5 = "ۥۢۨ"
            goto L8
        L3a:
            int r2 = r4 + 7
            java.lang.String r5 = "ۦ۟ۤ"
            goto L8
        L3f:
            java.lang.StringBuilder r1 = new java.lang.StringBuilder
            r1.<init>()
            java.lang.String r5 = "ۥۡۧ"
            goto L8
        L47:
            java.lang.String r6 = r1.toString()
            java.lang.String r5 = "ۢۦ۟"
            goto L8
        L4e:
            return r6
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Zxzj.decodeStr(java.lang.String):java.lang.String");
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:4:0x000b. Please report as an issue. */
    public static String htoStr(String str) {
        int i = 0;
        String str2 = "";
        while (true) {
            int length = str.length();
            int i2 = 1616;
            while (true) {
                i2 ^= 1633;
                switch (i2) {
                    case 14:
                    case 49:
                        i2 = i < length ? 1709 : 1678;
                    case 204:
                        int i3 = i + 2;
                        str2 = str2 + ((char) Integer.parseInt(str.substring(i, i3), 16));
                        int i4 = 1740;
                        while (true) {
                            i4 ^= 1757;
                            switch (i4) {
                                case 17:
                                    i4 = 1771;
                                    break;
                                case 54:
                                    break;
                            }
                        }
                        i = i3;
                        break;
                    case 239:
                        break;
                }
                return str2;
            }
        }
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:4:0x000b. Please report as an issue. */
    public static String strReverse(String str) {
        int length = str.length();
        String str2 = "";
        int i = 0;
        while (true) {
            int i2 = 1616;
            while (true) {
                i2 ^= 1633;
                switch (i2) {
                    case 14:
                    case 49:
                        i2 = i < length ? 1709 : 1678;
                    case 204:
                        str2 = str2 + str.charAt((length - i) - 1);
                        i++;
                        int i3 = 1740;
                        while (true) {
                            i3 ^= 1757;
                            switch (i3) {
                                case 17:
                                    i3 = 1771;
                                    break;
                                case 54:
                                    break;
                            }
                        }
                        break;
                    case 239:
                        break;
                }
                return str2;
            }
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:219:0x02bf, code lost:
    
        r3 = r4 + 1;
        r2 = 53634;
     */
    /* JADX WARN: Code restructure failed: missing block: B:220:0x02c4, code lost:
    
        r2 = r2 ^ 53651;
     */
    /* JADX WARN: Code restructure failed: missing block: B:221:0x02c8, code lost:
    
        switch(r2) {
            case 17: goto L318;
            case 50: goto L319;
            default: goto L320;
        };
     */
    /* JADX WARN: Code restructure failed: missing block: B:223:0x02cc, code lost:
    
        r2 = 53665;
     */
    /* JADX WARN: Code restructure failed: missing block: B:313:0x02bb, code lost:
    
        r3 = r2;
        r4 = r1;
     */
    /* JADX WARN: Code restructure failed: missing block: B:59:0x0156, code lost:
    
        r3 = r1;
        r4 = r1;
     */
    /* JADX WARN: Failed to find 'out' block for switch in B:141:0x037b. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:280:0x0246. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:34:0x008a. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:77:0x02fc. Please report as an issue. */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public java.lang.String categoryContent(java.lang.String r19, java.lang.String r20, boolean r21, java.util.HashMap<java.lang.String, java.lang.String> r22) {
        /*
            Method dump skipped, instructions count: 1484
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Zxzj.categoryContent(java.lang.String, java.lang.String, boolean, java.util.HashMap):java.lang.String");
    }

    /* JADX WARN: Code restructure failed: missing block: B:230:0x0306, code lost:
    
        r4 = r3;
        r3 = true;
     */
    /* JADX WARN: Failed to find 'out' block for switch in B:107:0x0460. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:126:0x048d. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:179:0x03b0. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:187:0x0424. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:64:0x032d. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:6:0x0294. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:89:0x035f. Please report as an issue. */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public java.lang.String detailContent(java.util.List<java.lang.String> r23) {
        /*
            Method dump skipped, instructions count: 1536
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Zxzj.detailContent(java.util.List):java.lang.String");
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:214:0x01aa. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:227:0x016d. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:29:0x0222. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:73:0x029f. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:7:0x0047. Please report as an issue. */
    public String homeContent(boolean z) {
        Dv Pi;
        JSONArray jSONArray;
        int i;
        String m3 = C0001.m3(f62short, 612, 1, 1879);
        try {
            String str = h;
            HZ h2 = lk.h(fP.oq(str, j(str)));
            Dv Pi2 = h2.Pi(C0015.m47(f62short, 613, 25, 1525));
            JSONArray jSONArray2 = new JSONArray();
            Iterator<Lm> it = Pi2.iterator();
            while (true) {
                boolean hasNext = it.hasNext();
                String m12 = C0004.m12(f62short, 638, 4, 2685);
                boolean z2 = false;
                int i2 = 1616;
                while (true) {
                    i2 ^= 1633;
                    switch (i2) {
                        case 14:
                        case 49:
                            i2 = hasNext ? 1709 : 1678;
                        case 204:
                            Lm next = it.next();
                            String e = next.e();
                            boolean equals = e.equals(C0014.m43(f62short, 642, 2, 687));
                            int i3 = 1740;
                            while (true) {
                                i3 ^= 1757;
                                switch (i3) {
                                    case 17:
                                        i3 = !equals ? 1833 : 1802;
                                    case 54:
                                    case 471:
                                        break;
                                    case 500:
                                        boolean equals2 = e.equals(C0005.m17(f62short, 644, 2, 1416));
                                        int i4 = 1864;
                                        while (true) {
                                            i4 ^= 1881;
                                            switch (i4) {
                                                case 17:
                                                    i4 = !equals2 ? 48736 : 48705;
                                                case 47384:
                                                    break;
                                                case 47417:
                                                    boolean equals3 = e.equals(C0008.m27(f62short, 646, 2, 460));
                                                    int i5 = 48767;
                                                    while (true) {
                                                        i5 ^= 48784;
                                                        switch (i5) {
                                                            case 14:
                                                            case 45:
                                                                break;
                                                            case 76:
                                                                boolean equals4 = e.equals(C0004.m12(f62short, 648, 2, 781));
                                                                int i6 = 48891;
                                                                while (true) {
                                                                    i6 ^= 48908;
                                                                    switch (i6) {
                                                                        case 22:
                                                                        case 53:
                                                                            break;
                                                                        case 503:
                                                                            i6 = !equals4 ? 49635 : 48953;
                                                                        case 32495:
                                                                            boolean equals5 = e.equals(C0003.m9(f62short, 650, 2, 1037));
                                                                            int i7 = 49666;
                                                                            while (true) {
                                                                                i7 ^= 49683;
                                                                                switch (i7) {
                                                                                    case 17:
                                                                                        i7 = !equals5 ? 49759 : 49728;
                                                                                    case 50:
                                                                                    case 76:
                                                                                        boolean equals6 = e.equals(C0018.m56(f62short, 652, 2, 1551));
                                                                                        int i8 = 49790;
                                                                                        while (true) {
                                                                                            i8 ^= 49807;
                                                                                            switch (i8) {
                                                                                                case 18:
                                                                                                case 51:
                                                                                                    break;
                                                                                                case 84:
                                                                                                    break;
                                                                                                case 241:
                                                                                                    i8 = equals6 ? 49883 : 49852;
                                                                                            }
                                                                                        }
                                                                                        break;
                                                                                    case 83:
                                                                                        break;
                                                                                }
                                                                            }
                                                                            break;
                                                                    }
                                                                }
                                                                break;
                                                            case 239:
                                                                i5 = !equals3 ? 48860 : 48829;
                                                        }
                                                    }
                                                    break;
                                                case 47483:
                                            }
                                        }
                                        break;
                                }
                            }
                            z2 = true;
                            int i9 = 49914;
                            while (true) {
                                i9 ^= 49931;
                                switch (i9) {
                                    case 497:
                                        i9 = z2 ? 50658 : 50627;
                                    case 1711:
                                    case 1736:
                                        break;
                                    case 1769:
                                        Matcher matcher = this.q.matcher(next.j(m12));
                                        boolean find = matcher.find();
                                        int i10 = 50689;
                                        while (true) {
                                            i10 ^= 50706;
                                            switch (i10) {
                                                case 19:
                                                    i10 = !find ? 50782 : 50751;
                                                case 45:
                                                    String trim = matcher.group(1).trim();
                                                    JSONObject jSONObject = new JSONObject();
                                                    jSONObject.put(C0005.m17(f62short, 654, 7, 573), trim);
                                                    jSONObject.put(C0009.m30(f62short, 661, 9, 2264), e);
                                                    jSONArray2.put(jSONObject);
                                                    int i11 = 51588;
                                                    while (true) {
                                                        i11 ^= 51605;
                                                        switch (i11) {
                                                            case 17:
                                                                i11 = 51619;
                                                            case 54:
                                                                break;
                                                        }
                                                    }
                                                    break;
                                                case 50:
                                                case 76:
                                                    int i12 = 50813;
                                                    while (true) {
                                                        i12 ^= 50830;
                                                        switch (i12) {
                                                            case 18:
                                                                break;
                                                            case 243:
                                                                i12 = 50844;
                                                        }
                                                    }
                                                    break;
                                            }
                                        }
                                        break;
                                }
                            }
                            break;
                        case 239:
                            break;
                    }
                    JSONObject jSONObject2 = new JSONObject();
                    int i13 = 51712;
                    while (true) {
                        i13 ^= 51729;
                        switch (i13) {
                            case 14:
                                break;
                            case 17:
                                if (!z) {
                                    break;
                                } else {
                                    i13 = 51805;
                                }
                            case 47:
                                break;
                            case 76:
                                jSONObject2.put(C0004.m12(f62short, 670, 7, 1592), this.j);
                                break;
                            default:
                                continue;
                        }
                        i13 = 51774;
                    }
                    jSONObject2.put(C0005.m17(f62short, 677, 5, 1848), jSONArray2);
                    try {
                        Pi = h2.Pi(C0002.m6(f62short, 682, 15, 1801)).get(0).Pi(C0012.m37(f62short, 697, 21, 866));
                        jSONArray = new JSONArray();
                        i = 0;
                    } catch (Exception e2) {
                        SpiderDebug.log(e2);
                    }
                    while (true) {
                        int size = Pi.size();
                        int i14 = 51836;
                        while (true) {
                            i14 ^= 51853;
                            switch (i14) {
                                case 241:
                                    i14 = i < size ? 52580 : 52549;
                                case 1963:
                                case 1992:
                                    break;
                                case 2025:
                                    Lm lm = Pi.get(i);
                                    String h3 = lm.Pi(m3).h(C0001.m3(f62short, 718, 5, 2202));
                                    String h4 = lm.Pi(m3).h(C0013.m41(f62short, 723, 13, 1220));
                                    String I = lm.Pi(C0004.m12(f62short, 736, 11, 3050)).I();
                                    Matcher matcher2 = this.I.matcher(lm.Pi(m3).h(m12));
                                    boolean find2 = matcher2.find();
                                    int i15 = 52611;
                                    while (true) {
                                        i15 ^= 52628;
                                        switch (i15) {
                                            case 23:
                                                i15 = !find2 ? 52704 : 52673;
                                            case 54:
                                            case 85:
                                                String group = matcher2.group(1);
                                                JSONObject jSONObject3 = new JSONObject();
                                                jSONObject3.put(C0009.m30(f62short, 747, 6, 2866), group);
                                                jSONObject3.put(C0014.m43(f62short, 753, 8, 775), h3);
                                                jSONObject3.put(C0004.m12(f62short, 761, 7, 2174), h4);
                                                jSONObject3.put(C0003.m9(f62short, 768, 11, 2263), I);
                                                jSONArray.put(jSONObject3);
                                                break;
                                            case 116:
                                                int i16 = 52735;
                                                while (true) {
                                                    i16 ^= 52752;
                                                    switch (i16) {
                                                        case 14:
                                                            break;
                                                        case 1007:
                                                            i16 = 52766;
                                                    }
                                                    break;
                                                }
                                        }
                                    }
                                    int i17 = i + 1;
                                    int i18 = 53510;
                                    while (true) {
                                        i18 ^= 53527;
                                        switch (i18) {
                                            case 17:
                                                i18 = 53541;
                                                break;
                                            case 50:
                                                break;
                                        }
                                    }
                                    i = i17;
                                    break;
                            }
                            jSONObject2.put(C0001.m3(f62short, 779, 4, 657), jSONArray);
                            int i19 = 53634;
                            while (true) {
                                i19 ^= 53651;
                                switch (i19) {
                                    case 17:
                                        i19 = 53665;
                                        break;
                                    case 50:
                                        break;
                                }
                            }
                        }
                        return jSONObject2.toString();
                    }
                }
            }
        } catch (Exception e3) {
            SpiderDebug.log(e3);
            return "";
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:8:?, code lost:
    
        return;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public void init(android.content.Context r6, java.lang.String r7) {
        /*
            r5 = this;
            super.init(r6, r7)
            java.lang.String r0 = new java.lang.String     // Catch: org.json.JSONException -> L3c
            r1 = 1
            java.lang.String r1 = r7.substring(r1)     // Catch: org.json.JSONException -> L3c
            r2 = 0
            byte[] r1 = android.util.Base64.decode(r1, r2)     // Catch: org.json.JSONException -> L3c
            r0.<init>(r1)     // Catch: org.json.JSONException -> L3c
            com.github.catvod.spider.Zxzj.h = r0     // Catch: org.json.JSONException -> L3c
            org.json.JSONObject r0 = new org.json.JSONObject     // Catch: org.json.JSONException -> L3c
            short[] r1 = com.github.catvod.spider.Zxzj.f62short     // Catch: org.json.JSONException -> L3c
            r2 = 783(0x30f, float:1.097E-42)
            r3 = 214(0xd6, float:3.0E-43)
            r4 = 2193(0x891, float:3.073E-42)
            java.lang.String r1 = com.github.catvod.spider.merge.C0012.m37(r1, r2, r3, r4)     // Catch: org.json.JSONException -> L3c
            r0.<init>(r1)     // Catch: org.json.JSONException -> L3c
            r5.V0 = r0     // Catch: org.json.JSONException -> L3c
            org.json.JSONObject r0 = new org.json.JSONObject     // Catch: org.json.JSONException -> L3c
            java.lang.String r1 = "{\"1\":[{\"key\":\"3\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"喜剧\",\"v\":\"喜剧\"},{\"n\":\"爱情\",\"v\":\"爱情\"},{\"n\":\"恐怖\",\"v\":\"恐怖\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"科幻\",\"v\":\"科幻\"},{\"n\":\"剧情\",\"v\":\"剧情\"},{\"n\":\"战争\",\"v\":\"战争\"},{\"n\":\"警匪\",\"v\":\"警匪\"},{\"n\":\"犯罪\",\"v\":\"犯罪\"},{\"n\":\"动画\",\"v\":\"动画\"},{\"n\":\"奇幻\",\"v\":\"奇幻\"},{\"n\":\"冒险\",\"v\":\"冒险\"},{\"n\":\"恐怖\",\"v\":\"恐怖\"},{\"n\":\"悬疑\",\"v\":\"悬疑\"},{\"n\":\"惊悚\",\"v\":\"惊悚\"},{\"n\":\"青春\",\"v\":\"青春\"},{\"n\":\"情色\",\"v\":\"情色\"}]},{\"key\":\"1\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"大陆\",\"v\":\"大陆\"},{\"n\":\"香港\",\"v\":\"香港\"},{\"n\":\"台湾\",\"v\":\"台湾\"},{\"n\":\"欧美\",\"v\":\"欧美\"},{\"n\":\"韩国\",\"v\":\"韩国\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"泰国\",\"v\":\"泰国\"},{\"n\":\"印度\",\"v\":\"印度\"},{\"n\":\"俄罗斯\",\"v\":\"俄罗斯\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"11\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"2003\",\"v\":\"2003\"},{\"n\":\"2002\",\"v\":\"2002\"},{\"n\":\"2001\",\"v\":\"2001\"},{\"n\":\"2000\",\"v\":\"2000\"}]},{\"key\":\"4\",\"name\":\"语言\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"英语\",\"v\":\"英语\"},{\"n\":\"韩语\",\"v\":\"韩语\"},{\"n\":\"日语\",\"v\":\"日语\"},{\"n\":\"法语\",\"v\":\"法语\"},{\"n\":\"泰语\",\"v\":\"泰语\"},{\"n\":\"德语\",\"v\":\"德语\"},{\"n\":\"印度语\",\"v\":\"印度语\"},{\"n\":\"国语\",\"v\":\"国语\"},{\"n\":\"粤语\",\"v\":\"粤语\"},{\"n\":\"俄语\",\"v\":\"俄语\"},{\"n\":\"西班牙语\",\"v\":\"西班牙语\"},{\"n\":\"意大利语\",\"v\":\"意大利语\"},{\"n\":\"其它\",\"v\":\"其它\"}]},{\"key\":\"2\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"time\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"2\":[{\"key\":\"3\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"剧情\",\"v\":\"剧情\"},{\"n\":\"喜剧\",\"v\":\"喜剧\"},{\"n\":\"爱情\",\"v\":\"爱情\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"悬疑\",\"v\":\"悬疑\"},{\"n\":\"恐怖\",\"v\":\"恐怖\"},{\"n\":\"奇幻\",\"v\":\"奇幻\"},{\"n\":\"惊悚\",\"v\":\"惊悚\"},{\"n\":\"犯罪\",\"v\":\"犯罪\"},{\"n\":\"科幻\",\"v\":\"科幻\"},{\"n\":\"音乐\",\"v\":\"音乐\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"4\",\"name\":\"语言\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"英语\",\"v\":\"英语\"},{\"n\":\"法语\",\"v\":\"法语\"}]},{\"key\":\"11\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"2003\",\"v\":\"2003\"},{\"n\":\"2002\",\"v\":\"2002\"},{\"n\":\"2001\",\"v\":\"2001\"},{\"n\":\"2000\",\"v\":\"2000\"}]},{\"key\":\"2\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"time\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"3\":[{\"key\":\"3\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"剧情\",\"v\":\"剧情\"},{\"n\":\"喜剧\",\"v\":\"喜剧\"},{\"n\":\"爱情\",\"v\":\"爱情\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"悬疑\",\"v\":\"悬疑\"},{\"n\":\"恐怖\",\"v\":\"恐怖\"},{\"n\":\"奇幻\",\"v\":\"奇幻\"},{\"n\":\"惊悚\",\"v\":\"惊悚\"},{\"n\":\"犯罪\",\"v\":\"犯罪\"},{\"n\":\"科幻\",\"v\":\"科幻\"},{\"n\":\"音乐\",\"v\":\"音乐\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"11\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"2003\",\"v\":\"2003\"},{\"n\":\"2002\",\"v\":\"2002\"},{\"n\":\"2001\",\"v\":\"2001\"},{\"n\":\"2000\",\"v\":\"2000\"}]},{\"key\":\"2\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"time\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"4\":[{\"key\":\"3\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"剧情\",\"v\":\"剧情\"},{\"n\":\"喜剧\",\"v\":\"喜剧\"},{\"n\":\"爱情\",\"v\":\"爱情\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"悬疑\",\"v\":\"悬疑\"},{\"n\":\"恐怖\",\"v\":\"恐怖\"},{\"n\":\"奇幻\",\"v\":\"奇幻\"},{\"n\":\"惊悚\",\"v\":\"惊悚\"},{\"n\":\"犯罪\",\"v\":\"犯罪\"},{\"n\":\"科幻\",\"v\":\"科幻\"},{\"n\":\"音乐\",\"v\":\"音乐\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"11\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"2003\",\"v\":\"2003\"},{\"n\":\"2002\",\"v\":\"2002\"},{\"n\":\"2001\",\"v\":\"2001\"},{\"n\":\"2000\",\"v\":\"2000\"}]},{\"key\":\"2\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"time\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"6\":[{\"key\":\"3\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"情感\",\"v\":\"情感\"},{\"n\":\"科幻\",\"v\":\"科幻\"},{\"n\":\"热血\",\"v\":\"热血\"},{\"n\":\"推理\",\"v\":\"推理\"},{\"n\":\"搞笑\",\"v\":\"搞笑\"},{\"n\":\"冒险\",\"v\":\"冒险\"},{\"n\":\"萝莉\",\"v\":\"萝莉\"},{\"n\":\"校园\",\"v\":\"校园\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"机战\",\"v\":\"机战\"},{\"n\":\"运动\",\"v\":\"运动\"},{\"n\":\"战争\",\"v\":\"战争\"},{\"n\":\"少年\",\"v\":\"少年\"},{\"n\":\"少女\",\"v\":\"少女\"},{\"n\":\"社会\",\"v\":\"社会\"},{\"n\":\"原创\",\"v\":\"原创\"},{\"n\":\"亲子\",\"v\":\"亲子\"},{\"n\":\"益智\",\"v\":\"益智\"},{\"n\":\"励志\",\"v\":\"励志\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"1\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"国产\",\"v\":\"国产\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"欧美\",\"v\":\"欧美\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"11\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"2003\",\"v\":\"2003\"},{\"n\":\"2002\",\"v\":\"2002\"},{\"n\":\"2001\",\"v\":\"2001\"},{\"n\":\"2000\",\"v\":\"2000\"}]},{\"key\":\"4\",\"name\":\"语言\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"国语\",\"v\":\"国语\"},{\"n\":\"日语\",\"v\":\"日语\"},{\"n\":\"英语\",\"v\":\"英语\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"2\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"time\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}],\"5\":[{\"key\":\"3\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"剧情\",\"v\":\"剧情\"},{\"n\":\"喜剧\",\"v\":\"喜剧\"},{\"n\":\"爱情\",\"v\":\"爱情\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"悬疑\",\"v\":\"悬疑\"},{\"n\":\"恐怖\",\"v\":\"恐怖\"},{\"n\":\"奇幻\",\"v\":\"奇幻\"},{\"n\":\"惊悚\",\"v\":\"惊悚\"},{\"n\":\"犯罪\",\"v\":\"犯罪\"},{\"n\":\"科幻\",\"v\":\"科幻\"},{\"n\":\"音乐\",\"v\":\"音乐\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"11\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"2003\",\"v\":\"2003\"},{\"n\":\"2002\",\"v\":\"2002\"},{\"n\":\"2001\",\"v\":\"2001\"},{\"n\":\"2000\",\"v\":\"2000\"}]},{\"key\":\"2\",\"name\":\"排序\",\"value\":[{\"n\":\"时间\",\"v\":\"time\"},{\"n\":\"人气\",\"v\":\"hits\"},{\"n\":\"评分\",\"v\":\"score\"}]}]}"
            r0.<init>(r1)     // Catch: org.json.JSONException -> L3c
            r5.j = r0     // Catch: org.json.JSONException -> L3c
            r0 = 1616(0x650, float:2.264E-42)
        L32:
            r0 = r0 ^ 1633(0x661, float:2.288E-42)
            switch(r0) {
                case 14: goto L38;
                case 49: goto L39;
                default: goto L37;
            }
        L37:
            goto L32
        L38:
            return
        L39:
            r0 = 1647(0x66f, float:2.308E-42)
            goto L32
        L3c:
            r0 = move-exception
            com.github.catvod.crawler.SpiderDebug.log(r0)
            goto L38
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Zxzj.init(android.content.Context, java.lang.String):void");
    }

    /* JADX WARN: Code restructure failed: missing block: B:105:0x0135, code lost:
    
        return r3;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    protected java.util.HashMap<java.lang.String, java.lang.String> j(java.lang.String r10) {
        /*
            Method dump skipped, instructions count: 448
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Zxzj.j(java.lang.String):java.util.HashMap");
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:6:0x0121. Please report as an issue. */
    public String playerContent(String str, String str2, List<String> list) {
        String m9 = C0003.m9(f62short, 1370, 3, 996);
        try {
            JSONObject jSONObject = new JSONObject();
            jSONObject.put(C0000.m1(f62short, 1373, 10, 469), C0001.m3(f62short, 1383, 122, 1552));
            jSONObject.put(C0001.m3(f62short, 1505, 6, 2393), C0001.m3(f62short, 1511, 4, 557));
            jSONObject.put(C0007.m26(f62short, 1515, 15, 1843), C0013.m41(f62short, 1530, 36, 2406));
            jSONObject.put(C0009.m30(f62short, 1566, 15, 1460), C0005.m17(f62short, 1581, 20, 2217));
            jSONObject.put(C0003.m9(f62short, 1601, 14, 1598), C0007.m26(f62short, 1615, 6, 2381));
            jSONObject.put(C0008.m27(f62short, 1621, 14, 517), C0008.m27(f62short, 1635, 8, 1028));
            jSONObject.put(C0003.m9(f62short, 1643, 14, 564), C0014.m43(f62short, 1657, 11, 3267));
            String str3 = h + C0004.m12(f62short, 1668, 7, 2926) + str2 + C0004.m12(f62short, 1675, 5, 992);
            Dv Pi = lk.h(fP.oq(str3, j(str3))).Pi(C0005.m17(f62short, 1680, 6, 1202));
            JSONObject jSONObject2 = new JSONObject();
            int i = 0;
            while (true) {
                int size = Pi.size();
                int i2 = 1616;
                while (true) {
                    i2 ^= 1633;
                    switch (i2) {
                        case 14:
                        case 49:
                            i2 = i < size ? 1709 : 1678;
                        case 204:
                            String trim = Pi.get(i).yp().trim();
                            boolean startsWith = trim.startsWith(C0017.m52(f62short, 1686, 11, 2807));
                            int i3 = 1740;
                            while (true) {
                                i3 ^= 1757;
                                switch (i3) {
                                    case 17:
                                        i3 = startsWith ? 1833 : 1802;
                                    case 54:
                                    case 471:
                                        break;
                                    case 500:
                                        String string = new JSONObject(trim.substring(trim.indexOf(123), trim.lastIndexOf(125) + 1)).getString(m9);
                                        Matcher matcher = Pattern.compile(C0017.m52(f62short, 1697, 23, 3005)).matcher(fP.oq(string, q(string)));
                                        boolean find = matcher.find();
                                        int i4 = 1864;
                                        while (true) {
                                            i4 ^= 1881;
                                            switch (i4) {
                                                case 17:
                                                    i4 = find ? 48736 : 48705;
                                                case 47384:
                                                    break;
                                                case 47417:
                                                    String group = matcher.group(1);
                                                    jSONObject2.put(C0000.m1(f62short, 1720, 5, 1974), 0);
                                                    jSONObject2.put(C0015.m47(f62short, 1725, 7, 1558), "");
                                                    jSONObject2.put(m9, decodeStr(htoStr(strReverse(group))));
                                                    jSONObject2.put(C0008.m27(f62short, 1732, 6, 2644), jSONObject.toString());
                                                    break;
                                                case 47483:
                                            }
                                        }
                                        break;
                                }
                            }
                            i++;
                            int i5 = 48767;
                            while (true) {
                                i5 ^= 48784;
                                switch (i5) {
                                    case 14:
                                        break;
                                    case 239:
                                        i5 = 48798;
                                        break;
                                }
                            }
                            break;
                        case 239:
                            break;
                    }
                    return jSONObject2.toString();
                }
            }
        } catch (Exception e) {
            SpiderDebug.log(e);
            return "";
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:72:0x01c5, code lost:
    
        return r3;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    protected java.util.HashMap<java.lang.String, java.lang.String> q(java.lang.String r11) {
        /*
            Method dump skipped, instructions count: 548
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Zxzj.q(java.lang.String):java.util.HashMap");
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:53:0x00f1. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:6:0x006e. Please report as an issue. */
    public String searchContent(String str, boolean z) {
        String m27 = C0008.m27(f62short, 2294, 1, 422);
        try {
            String str2 = h + C0005.m17(f62short, 2295, 33, 1998) + URLEncoder.encode(str) + C0012.m37(f62short, 2328, 8, 1683);
            HZ h2 = lk.h(fP.oq(str2, j(str2)));
            JSONObject jSONObject = new JSONObject();
            JSONArray jSONArray = new JSONArray();
            Dv Pi = h2.Pi(C0005.m17(f62short, 2336, 21, 1778));
            int i = 0;
            while (true) {
                int size = Pi.size();
                int i2 = 1616;
                while (true) {
                    i2 ^= 1633;
                    switch (i2) {
                        case 14:
                        case 49:
                            i2 = i < size ? 1709 : 1678;
                        case 204:
                            Lm lm = Pi.get(i);
                            String h3 = lm.Pi(m27).h(C0009.m30(f62short, 2357, 5, 1711));
                            boolean contains = h3.contains(str);
                            int i3 = 1740;
                            while (true) {
                                i3 ^= 1757;
                                switch (i3) {
                                    case 17:
                                        i3 = contains ? 1833 : 1802;
                                    case 54:
                                    case 471:
                                        break;
                                    case 500:
                                        String h4 = lm.Pi(m27).h(C0018.m56(f62short, 2362, 13, 1134));
                                        Matcher matcher = this.I.matcher(lm.Pi(m27).h(C0006.m18(f62short, 2375, 4, 1504)));
                                        boolean find = matcher.find();
                                        int i4 = 1864;
                                        while (true) {
                                            i4 ^= 1881;
                                            switch (i4) {
                                                case 17:
                                                    i4 = !find ? 48736 : 48705;
                                                case 47384:
                                                    String group = matcher.group(1);
                                                    JSONObject jSONObject2 = new JSONObject();
                                                    String I = lm.Pi(C0003.m9(f62short, 2379, 15, 676)).I();
                                                    jSONObject2.put(C0008.m27(f62short, 2394, 6, 473), group);
                                                    jSONObject2.put(C0009.m30(f62short, 2400, 8, 490), h3);
                                                    jSONObject2.put(C0017.m52(f62short, 2408, 7, 2945), h4);
                                                    jSONObject2.put(C0018.m56(f62short, 2415, 11, 614), I);
                                                    jSONArray.put(jSONObject2);
                                                    break;
                                                case 47417:
                                                    int i5 = 48767;
                                                    while (true) {
                                                        i5 ^= 48784;
                                                        switch (i5) {
                                                            case 14:
                                                                break;
                                                            case 239:
                                                                i5 = 48798;
                                                        }
                                                        break;
                                                    }
                                                    break;
                                                case 47483:
                                            }
                                        }
                                        break;
                                }
                            }
                            int i6 = i + 1;
                            int i7 = 48891;
                            while (true) {
                                i7 ^= 48908;
                                switch (i7) {
                                    case 22:
                                        break;
                                    case 503:
                                        i7 = 48922;
                                        break;
                                }
                            }
                            i = i6;
                            break;
                        case 239:
                            break;
                    }
                    jSONObject.put(C0007.m26(f62short, 2426, 4, 3070), jSONArray);
                    return jSONObject.toString();
                }
            }
        } catch (Exception e) {
            SpiderDebug.log(e);
            return "";
        }
    }
}
